<?php
/**
 * Created by PhpStorm.
 * User: FDG296
 * Date: 2017/9/18
 * Time: 10:25
 */
namespace frontend\widget;

use common\models\GoodsCateRelation;
use Yii;
use yii\base\Widget;

class CategoryCrumbWidget extends Widget{
    public function run(){
        $data = Yii::$app->request->get();
        if(!empty($data['tag_id']) && is_numeric($data['tag_id'])){
            $relation_model = new GoodsCateRelation();
        }
    }
}